touch

fun touch(): Path

Create an empty file if it doesn't exist, creating parent directories if necessary.

Return

this

Sources

js source
Link copied to clipboard